<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
  </head>
  <style>
    body {
      display: flex;
      height: 100vh;
    }
    .zan {
      margin: auto;
      width: 100px;
      height: 100px;
      background: url("./images/zan_animation_steps.png")
        left center no-repeat;
    }
    .zan-anim {
      animation: tt .8s steps(20,end) infinite;
    }
    @keyframes tt {
      to {
        background-position: right;
      }
    }
  </style>
  <body>
    <div class="zan zan-anim"></div>
  </body>
</html>
